import { AntDesignContainer} from '@vitepress-demo-preview/component'
import '@vitepress-demo-preview/component/dist/style.css'
import DefaultTheme from 'vitepress/theme'
import type {App} from 'vue'
import "./css/reset.css"
import "element-plus/theme-chalk/index.css"
import "@wenqian/nf-ui/theme-default/index.css";
import ElementPlus from "element-plus";
import NfUI from '@wenqian/nf-ui'

export default {
    ...DefaultTheme,
    enhanceApp({ app }: { app: App }) {
        app.use(ElementPlus).use(NfUI)
        app.component('demo-preview', AntDesignContainer)
    }
}
